Skip to content

ReactiveChangeSet class

Attributes: [DefaultMember("Item")] [DebuggerDisplay("Count = {Count}, Adds = {Adds}, Removes = {Removes}")]

Defined in

Namespace: ReactiveUI Assembly: ReactiveUI.Core.dll Full name: ReactiveUI.ReactiveChangeSet<T> Modifiers: public sealed

Summary

View source

A batch of collection changes backed by a list of ReactiveChange, exposing the add/remove counts used to detect count changes. The name is deliberately distinct from the DynamicData and System.Reactive change-set types so the two can be referenced side by side without collision.

Applies to

net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.5, netstandard2.1, net481, net462, net471

Class hierarchy
classDiagram
class ReactiveChangeSet~T~
class IReactiveChangeSet~T~ {
    <>
}
IReactiveChangeSet~T~ <|.. ReactiveChangeSet~T~
class IReactiveChangeSet {
    <>
}
IReactiveChangeSet <|.. ReactiveChangeSet~T~
class IEnumerable {
    <>
}
IEnumerable <|.. ReactiveChangeSet~T~
class IReadOnlyList~ReactiveChange~T~~ {
    <>
}
IReadOnlyList~ReactiveChange~T~~ <|.. ReactiveChangeSet~T~
class IEnumerable~ReactiveChange~T~~ {
    <>
}
IEnumerable~ReactiveChange~T~~ <|.. ReactiveChangeSet~T~
class IReadOnlyCollection~ReactiveChange~T~~ {
    <>
}
IReadOnlyCollection~ReactiveChange~T~~ <|.. ReactiveChangeSet~T~

Implements: IReactiveChangeSet, IReactiveChangeSet, IEnumerable, IReadOnlyList>, IEnumerable>, IReadOnlyCollection>

Constructors

NameSummary
.ctorInitializes a new instance of the [ReactiveChangeSet](# class.

Properties

NameSummary
Count
AddsGets the number of [Add](# changes in the set.
RemovesGets the number of [Remove](# changes in the set.
this[]

Methods

NameSummary
GetEnumeratorReturns an enumerator over the changes.
Inherited members